package com.xii.mapper;

import com.xii.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingMapper {
    void addOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(@Param("beginTime") String beginTime, @Param("endTime")String endTime);

    OrderSetting getOrderSettingByDate(Date orderDate);

    void updateOrderSettingByDate(OrderSetting orderSetting);
}
